package it.fuesi.synoutils.model.download;

import java.util.List;

import it.fuesi.synoutils.model.base.BaseApiClientParameters;

/**
 * Created by pascotto on 23/10/14.
 */
public class DownloadStationClientParameters extends BaseApiClientParameters {

    private String uri;
    private String taskId;

    private String fileID;

    private List<DownloadTask> tasks;

    public List<DownloadTask> getTasks() {
        return tasks;
    }

    public void setTasks(List<DownloadTask> tasks) {
        this.tasks = tasks;
    }

    public String getFileID() {
        return fileID;
    }

    public void setFileID(String fileID) {
        this.fileID = fileID;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }



    public static DownloadStationClientParameters build(boolean expireCache){
        final DownloadStationClientParameters params = new DownloadStationClientParameters();
        params.setRefreshCache(expireCache);
        return params;
    }
}
